GetTempFile(dir, prefix)


Creates and returns the name of a temporary file in a directory whose name starts with (at most) the first three characters of prefix.

See also GetProfileString.

dir

Directory name.

prefix

Prefix of a temporary file to be created in the directory specified by dir.